import sys
sys.path.insert(0,'/Users/yangjiankun/Documents/python_review/web_serve_easy')
from application.url import dict_router


def router(path):
    def func_out(func):
        dict_router[path] = func
        def func_in():
            return func()
        return func_in
    return func_out

@router('/index.py')
def index():
    return 'index'

def center():
    return 'center'

def other():
    return 'other'